package com.xr.maintain.entity.mysql;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import org.apache.ibatis.type.Alias;



/**
 * <p>
 * 职工人员表
 * </p>
 *
 * @author Gonna
 * @since 2021-05-07
 */
@TableName("tb_personnels")
@Getter
@Setter
@EqualsAndHashCode
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Alias("personnels")
public class Personnels {

    /**
     * ID
     */

    @TableId(value = "id",type = IdType.INPUT)
    private Long id;
    /**
     * 机构ID
     */
    @TableField("company_id")
    private Long companyId;
    /**
     * 姓名
     */
    @TableField("name")
    private String name;
    /**
     * 部门
     */
    @TableField("department")
    private String department;
    /**
     * 出生年月
     */
    @TableField("birth_date")
    private String birthDate;
    /**
     * 职务
     */
    @TableField("position")
    private String position;
    /**
     * 职称
     */
    @TableField("job_position")
    private String jobPosition;
    /**
     * 学历
     */
    @TableField("edu_degree")
    private String eduDegree;
    /**
     * 毕业学校
     */
    @TableField("graduate_school")
    private String graduateSchool;
    /**
     * 毕业时间
     */
    @TableField("graduate_date")
    private String graduateDate;
    /**
     * 工作岗位
     */
    @TableField("work_position")
    private String workPosition;
    /**
     * 本岗位工作时间
     */
    @TableField("working_time")
    private String workingTime;

}
